Skip to main content
Version: 5.x.x

WebsocketAdapterType


import { WebsocketAdapterType } from "@hyper-fetch/sockets"

Description

Defined in adapter/adapter.types.ts:108

Preview

type WebsocketAdapterType = SocketAdapterType<WSAdapterOptionsType, MessageEvent<SocketData>>;

Structure

(socket: Socket<SocketAdapterType<AdapterOptions, AdapterExtra, ListenerOptions, EmitterOptions>>, DO_NOT_USE?: [object Object]) => [object Object]